@echo off
for /f "tokens=2,*" %%i in ('reg query "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v "Favorites"') do (
set IE_Fav=%%j
)
echo IE_Fav=[%IE_Fav%]

